<?php

if (!defined('IN_XLP')) {
    exit('Access Denied!');
}
/*
 * 后台菜单配置文件-网站编辑
 */
return array(
    array('title' => '后台首页', 'url' => '', 'icon' => 'fa-home', 'short' => 'index', 'item' =>
        array(
            array(
                'title' => '后台首页',
                'url' => U('index/index'),
                'short' => 'index-index'
            )
        )
    ),
    array('title' => '系统维护', 'url' => '', 'icon' => 'fa-wrench', 'short' => 'system', 'item' =>
        array(
            array(
                'title' => '编辑资料',
                'url' => U('my/edit'),
                'short' => 'my-edit'
            ),
            array(
                'title' => '敏感词库',
                'url' => U('badword/index'),
                'short' => 'badword-index'
            )
        )
    ),
    array('title' => '会员管理', 'url' => '', 'icon' => 'fa-smile-o', 'short' => 'member', 'item' =>
        array(
            array(
                'title' => '上传管理',
                'url' => U('photo/index'),
                'short' => 'photo-index'
            ),
            array(
                'title' => '积分兑换',
                'url' => U('exchange/index'),
                'short' => 'exchange-index'
            ),
            array(
                'title' => '会员帐号',
                'url' => U('test/flogin/mylogin'),
                'short' => 'mylogin-index',
                'new' => true
            ),
            array(
                'title' => '用户反馈',
                'url' => U('feedback/index'),
                'short' => 'feedback-index'
            )
        )
    ),
    array('title' => '通知新闻', 'url' => '', 'icon' => 'fa-volume-up', 'short' => 'news', 'item' =>
        array(
            array(
                'title' => '通知公告',
                'url' => U('notice/index'),
                'short' => 'notice-index'
            ),
            array(
                'title' => '社区新闻',
                'url' => U('news/index', array('tid' => 2)),
                'short' => 'news-index'
            ),
            array(
                'title' => '资讯',
                'url' => U('news/index', array('tid' => 4)),
                'short' => 'news-index'
            ),
            array(
                'title' => '常用号码',
                'url' => U('news/number'),
                'short' => 'news-number'
            ),
            array(
                'title' => '新闻素材库',
                'url' => U('news/index'),
                'short' => 'news-index'
            ),
            array(
                'title' => '身边事',
                'url' => U('nearby/index'),
                'short' => 'nearby-index'
            )
        )
    ),
    array('title' => '区域管理', 'url' => '', 'icon' => 'fa-windows', 'short' => 'village', 'item' =>
        array(
            array(
                'title' => '区域管理',
                'url' => U('area/index'),
                'short' => 'area-index'
            ),
            array(
                'title' => '小区列表',
                'url' => U('village/index'),
                'short' => 'village-index'
            )
        )
    ),
    array('title' => '微社区管理', 'url' => '', 'icon' => 'fa-comments', 'short' => 'bbs', 'item' =>
        array(
            array(
                'title' => '社区论坛',
                'url' => U('forum/index'),
                'short' => 'forum-index'
            ),
            array(
                'title' => '拼车服务',
                'url' => U('carpool/index'),
                'short' => 'carpool-index'
            ),
            array(
                'title' => '家政服务',
                'url' => U('housekeeping/index'),
                'short' => 'housekeeping-index'
            ),
            array(
                'title' => '跳蚤市场',
                'url' => U('sechand/index'),
                'short' => 'sechand-index'
            ),
            array(
                'title' => '小区时景',
                'url' => U('scenery/index'),
                'short' => 'scenery-index'
            ),
            array(
                'title' => '用户举报',
                'url' => U('report/index'),
                'short' => 'report-index'
            ),
            array(
                'title' => '周边商家',
                'url' => U('around/index'),
                'short' => 'around-index'
            )
        )
    ),
    array('title' => '订单管理', 'url' => '', 'icon' => 'fa-truck', 'short' => 'order', 'item' =>
        array(
            array(
                'title' => '订单管理',
                'url' => U('order/index'),
                'short' => 'order-index'
            ),
//            array(
//                'title' => '订单分析',
//                'url' => U('order/chart'),
//                'short' => 'order-chart'
//            )
        )
    ),
    array('title' => '商品管理', 'url' => '', 'icon' => 'fa-shopping-cart', 'short' => 'goods', 'item' =>
        array(
            array(
                'title' => '新增商品',
                'url' => U('goods/add'),
                'short' => 'goods-add'
            ),
            array(
                'title' => '商品管理',
                'url' => U('goods/index'),
                'short' => 'goods-index'
            ),
            array(
                'title' => '分类管理',
                'url' => U('goods/cate'),
                'short' => 'goods-cate'
            ),
            array(
                'title' => '规格管理',
                'url' => U('goods/spec'),
                'short' => 'goods-spec'
            ),
//            array(
//                'title' => '属性管理',
//                'url' => U('goods/addr'),
//                'short' => 'goods-addr'
//            ),
//            array(
//                'title' => '商品评论',
//                'url' => U('goods/comment'),
//                'short' => 'goods-comment'
//            ),
//            array(
//                'title' => '商品分析',
//                'url' => U('goods/stat'),
//                'short' => 'goods-stat'
//            )
        )
    ),
    array('title' => '商家管理', 'url' => '', 'icon' => 'fa-group', 'short' => 'seller', 'item' =>
        array(
            array(
                'title' => '新增商家',
                'url' => U('seller/add'),
                'short' => 'seller-add'
            ),
        ),
    ),
    array('title' => '活动管理', 'url' => '', 'icon' => 'fa-tachometer', 'short' => 'event', 'item' =>
        array(
            array(
                'title' => '活动列表',
                'url' => U('event/index'),
                'short' => 'event-index',
                'new' => true
            ),
            array(
                'title' => '疯狂猜图',
                'url' => U('guess/index'),
                'short' => 'guess-index',
            ),
            array(
                'title' => '众筹列表',
                'url' => U('fund/index'),
                'short' => 'fund-index'
            ),
            array(
                'title' => '众筹发起人',
                'url' => U('fund/apply'),
                'short' => 'fund-apply'
            ),
        )
    ),
    array('title' => '广告管理', 'url' => '', 'icon' => 'fa-location-arrow', 'short' => 'advs', 'item' =>
        array(
            array(
                'title' => '广告列表',
                'url' => U('advs/index'),
                'short' => 'advs-index'
            ),
            array(
                'title' => '页面片管理',
                'url' => U('pages/index'),
                'short' => 'pages-index'
            )
        )
    ),
    array('title' => '任务管理', 'url' => '', 'icon' => 'fa-tasks', 'short' => 'task', 'item' =>
        array(
            array(
                'title' => '任务列表',
                'url' => U('task/index'),
                'short' => 'task-index'
            ),
            array(
                'title' => '任务发布人',
                'url' => U('task/poster'),
                'short' => 'task-poster'
            ),
            array(
                'title' => '用户列表',
                'url' => U('task/user'),
                'short' => 'task-user'
            ),
            array(
                'title' => '领福利',
                'url' => U('task/event'),
                'short' => 'task-event'
            ),
        )
    ),
);
